<!DOCTYPE html>
<html>
{include file="head.html"}
<body>
<div class="body">
 <div class="header" >
    <a  class="left-btn" href="{$appkoudai}?m=list"><span class="iconfont icon-back"></span></a>
    <div class="title">插件配置</div>
     
  </div>
<div class="main-body ">

 <form method='post' id="formx" action='{$appkoudai}?m=koudai&a=plugin_save'>
      <input type='hidden' name='shopid' value='{$data.id}' >
      
       <table class='table noborder' width='100%'>
       		<tr>
            	<td>快递赏金</td>
                <td><input type="text" name="plugin_kdyuan_price" value="{$data.plugin_kdyuan_price}">% / 单 </td>
            </tr>
       </table>
        <div style="height:50px; line-height:50px;padding-left:100px">
        <button type='button'    id="submit" class='btn btn-success'>保存</button>
      </div>
 </form>

</div>
</div>


<script>
	$("#submit").on("click",function(){
		$.post("{$appkoudai}?m=koudai&a=pluginsave&ajax=1",$("#formx").serialize(),function(data){
			if(data.error){
				skyToast(data.message);
			}else{
				skyToast('保存成功');
			}
		},"json")
	});
</script>
</body>
</html>